package com.xbongbong.saas.domain.entity;

import com.xbongbong.paas.toolbox.util.DateUtil;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

@Setter
@Getter
@ToString
public class WorkReportApprovePeopleEntity implements Serializable {
    private static final long serialVersionUID = -4001712950929456614L;
    /**主键*/
    private Long id;
    /**公司ID*/
    private String corpid;
    /**批阅人id*/
    private String approvedPeople;
    /**
     * 批阅人类型 用户 动态负责人 部门 角色  依次为1 2 3 4
     */
    private Integer refType;
    /**工作汇报ID*/
    private Long reportId;

    /**添加时间*/
    private Long addTime;
    /**更新时间*/
    private Long updateTime;
    /**删除标记*/
    private Integer del;

    public WorkReportApprovePeopleEntity() {
        long now = DateUtil.getInt();
        this.corpid = "";
        this.approvedPeople = "";
        this.reportId = 0L;
        this.addTime = now;
        this.updateTime = now;
        this.del = 0;
    }
}
